<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%
	String path = request.getContextPath();
	String serverName = request.getServerName();
	if (path != null && path.equals("/")) {
		path = "";
	}
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title></title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link rel="StyleSheet" href="frame.css" type="text/css" />
		<script type="text/javascript">
        function frameHeight() {
        	var height = (window.innerHeight) ? window.innerHeight : (document.documentElement && document.documentElement.clientHeight) ? document.documentElement.clientHeight : document.body.offsetHeight;
			return height;
        }
        window.onload = function(){
        	document.all.menuFrame.height = frameHeight()+"px";
        }
		window.onresize = function(){
			document.all.menuFrame.height = frameHeight()+"px";
		}
        //-------------------
		var yn = true;
		function yZ(obj) {
			//alert(window.parent.document.all.framet);
			if(yn) {
				document.all.nei.style.display="none"; 
				window.parent.document.all.framet.cols="9,*"
				obj.src = "images/close.jpg";
				obj.title="显示菜单";
				yn = false;
			} else {
				document.all.nei.style.display="inline"; 
				window.parent.document.all.framet.cols="240,*"
				obj.src = "images/open.jpg";
				obj.title="隐藏菜单";
				yn = true;
			}
		}
		function ms_over(obj) {
			if (!yn) {
				obj.src ="images/open.jpg";
			}
			else {
				obj.src = "images/close.jpg";
			}
		}
		function ms_out(obj) {
			if (!yn) {
				obj.src = "images/open.jpg";
			}
			else {
				obj.src = "images/close.jpg";
			}
		}
		</script>
		<style type="text/css">
body {
	-moz-user-select: none;
	hutia: expression(this . onselectstart = function() { return(false)
}

);
Windsor:expression (document.body.onselectstart =document.body.oncontextmenu
	=function(){return false;
	
}
);
}
</style>
		<script language="JavaScript">document.oncontextmenu=function(e){return false;}</script>
	</head>

	<body bgcolor="#fefefe" style="overflow: hidden;">
		<table cellpadding="0" cellspacing="0" border="0" width="100%"
			height="100%">
			<tr>
				<td valign="top">
					<div id="nei" style="width: 230px; height: 100%; display: inline;">

						<iframe id="menuFrame" width="210" height="100%" frameborder="0"
							scrolling="auto" src="menu.jsp"></iframe>
					</div>
				</td>
				<td width="9" valign="left"
					style="background-image: url(<%=basePath%>admin/images/anniu_bg02.gif); background-repeat: repeat-y;">
					<img src="images/close.jpg" title="隐藏菜单" border="0" width="8"
						border="0" style="cursor: pointer;" onclick="yZ(this)"
						onmouseover="ms_over(this)" onmouseout="ms_out(this)">
				</td>
			</tr>
		</table>
	</body>
</html>